/**
 * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.html or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For example:
	config.language = 'vi';
	// config.uiColor = '#AADC6E';

	//toolbar
	config.toolbar_Full = [
		{ name: 'document'},
		{ name: 'clipboard', 	items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
		{ name: 'editing'},
		{ name: 'forms'},
		'/',
		{ name: 'basicstyles', 	items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
		{ name: 'paragraph', 	items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote',
		'-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ] },
		{ name: 'links', 		items : [ 'Link','Unlink','Anchor' ] },
		{ name: 'insert', 		items : [ 'Image','Table','HorizontalRule','Smiley','SpecialChar','PageBreak' ] },
		'/',
		{ name: 'styles', 		items : [ 'Font','FontSize' ] },
		{ name: 'colors', 		items : [ 'TextColor','BGColor' ] },
		{ name: 'tools', 		items : [ 'Maximize', 'ShowBlocks' ] }
	];
	
	//remove button toolbar
	config.removeButtons 	= 'Source,Save,NewPage,DocProps,Preview,Print,Templates,Find,Replace,SelectAll,SpellChecker,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,CreateDiv,BidiLtr,BidiRtl,Flash,Iframe,Styles,Format,About';

	//enter
	config.enterMode 		= CKEDITOR.ENTER_DIV;

	//ky ty b va i
	config.coreStyles_bold 		= { element : 'b', overrides : 'b' };
	config.coreStyles_italic 		= { element : 'i', overrides : 'i' };


};
